﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QLK.Database.DALs
{
    public class ManufactureDAL
    {
        ManageStoreDataContext db;

        public ManufactureDAL()
        {
            db = new ManageStoreDataContext();
        }

        public List<Manufacture> ManufactureGetAll()
        {
            var M = from m in db.Manufactures
                    orderby m.ManufactureName
                    select m;
            return M.ToList<Manufacture>();
        }
    }
}
